package cn.com.api.entity.base;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

// T_stats Entity

/// <summary>
/// Datetime: 2016/1/5 20:27:26		
/// Genegrated automatically. Don't write your logic code here.	
/// the entity of table T_stats.
/// </summary>

public class T_statsBase implements Serializable {

	private static final long serialVersionUID = 00L;

	// Genegrated Automatically.

	// 统计标号 Stats_id
	private Integer stats_id;

	// 商铺标号 Shop_id
	private Integer shop_id;

	// 配送员编号 Shipper_id
	private String shipper_id;

	// 订单数 Order_count
	private Integer order_count;

	// 订单总金额 Orders_money（包配送费，折扣前的，餐盒费（如果店家收餐盒费））
	private Double orders_money;

	// 年份 Year
	private Integer year;

	// 月份 Month
	private Integer month;

	// 第几周 Week
	private Integer week;

	// 日 Day
	private Integer day;

	// 准时送达订单数 Order_ontime_count
	private Integer order_ontime_count;

	// 超时送达订单数 Order_overtime_count
	private Integer order_overtime_count;

	// 提前送达订单数 Order_aheadtime_count
	private Integer order_aheadtime_count;

	// 是否统计过0：未统计1：已统计 Is_stat
	private Integer is_stat;
	
	//配送员收到的货到付款的钱
	private BigDecimal on_delivery_money;
	
	// 配送员付给商家的钱
	private BigDecimal cash_term_money;
	
	//当时的备用金
	private BigDecimal reserve_money;
	
	//当日餐盒费是否结算给商家 
    private Integer is_recieve_box_money;
    
   //当日最后要结算给商家的钱（去掉了配送费，折扣，餐盒费（是否收））
    private Double final_pay_money;

	public T_statsBase() {
		super();
	}

	public T_statsBase(Integer stats_id, Integer shop_id, String shipper_id,
			Integer order_count, Double orders_money, Integer year,
			Integer month, Integer week, Integer day,
			Integer order_ontime_count, Integer order_overtime_count,
			Integer order_aheadtime_count, Integer is_stat,BigDecimal on_delivery_money,BigDecimal cash_term_money,BigDecimal reserve_money) {
		this.stats_id = stats_id;
		this.shop_id = shop_id;
		this.shipper_id = shipper_id;
		this.order_count = order_count;
		this.orders_money = orders_money;
		this.year = year;
		this.month = month;
		this.week = week;
		this.day = day;
		this.order_ontime_count = order_ontime_count;
		this.order_overtime_count = order_overtime_count;
		this.order_aheadtime_count = order_aheadtime_count;
		this.is_stat = is_stat;
		this.on_delivery_money = on_delivery_money;
		this.cash_term_money = cash_term_money;
		this.reserve_money = reserve_money;
	}

	// Stats_id
	public Integer getStats_id() {
		return this.stats_id;
	}

	public void setStats_id(Integer stats_id) {
		this.stats_id = stats_id;
	}

	// Shop_id
	public Integer getShop_id() {
		return this.shop_id;
	}

	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}

	// Shipper_id
	public String getShipper_id() {
		return this.shipper_id;
	}

	public void setShipper_id(String shipper_id) {
		this.shipper_id = shipper_id;
	}

	// Order_count
	public Integer getOrder_count() {
		return this.order_count;
	}

	public void setOrder_count(Integer order_count) {
		this.order_count = order_count;
	}

	// Orders_money
	public Double getOrders_money() {
		return this.orders_money;
	}

	public void setOrders_money(Double orders_money) {
		this.orders_money = orders_money;
	}

	// Year
	public Integer getYear() {
		return this.year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	// Month
	public Integer getMonth() {
		return this.month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}

	// Week
	public Integer getWeek() {
		return this.week;
	}

	public void setWeek(Integer week) {
		this.week = week;
	}

	// Day
	public Integer getDay() {
		return this.day;
	}

	public void setDay(Integer day) {
		this.day = day;
	}

	// Order_ontime_count
	public Integer getOrder_ontime_count() {
		return this.order_ontime_count;
	}

	public void setOrder_ontime_count(Integer order_ontime_count) {
		this.order_ontime_count = order_ontime_count;
	}

	// Order_overtime_count
	public Integer getOrder_overtime_count() {
		return this.order_overtime_count;
	}

	public void setOrder_overtime_count(Integer order_overtime_count) {
		this.order_overtime_count = order_overtime_count;
	}

	// Order_aheadtime_count
	public Integer getOrder_aheadtime_count() {
		return this.order_aheadtime_count;
	}

	public void setOrder_aheadtime_count(Integer order_aheadtime_count) {
		this.order_aheadtime_count = order_aheadtime_count;
	}

	// Is_stat
	public Integer getIs_stat() {
		return this.is_stat;
	}

	public void setIs_stat(Integer is_stat) {
		this.is_stat = is_stat;
	}

	public BigDecimal getOn_delivery_money() {
		return on_delivery_money;
	}

	public void setOn_delivery_money(BigDecimal on_delivery_money) {
		this.on_delivery_money = on_delivery_money;
	}
	public BigDecimal getCash_term_money() {
		return cash_term_money;
	}
	public void setCash_term_money(BigDecimal cash_term_money) {
		this.cash_term_money = cash_term_money;
	}

	public BigDecimal getReserve_money() {
		return reserve_money;
	}

	public void setReserve_money(BigDecimal reserve_money) {
		this.reserve_money = reserve_money;
	}

	public Integer getIs_recieve_box_money() {
		return is_recieve_box_money;
	}

	public void setIs_recieve_box_money(Integer is_recieve_box_money) {
		this.is_recieve_box_money = is_recieve_box_money;
	}

	public Double getFinal_pay_money() {
		return final_pay_money;
	}

	public void setFinal_pay_money(Double final_pay_money) {
		this.final_pay_money = final_pay_money;
	}
}
